package com.buba.livenuniappservernew.api.MemberUserManagement.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.buba.livenuniappservernew.api.Enum.DeleteEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 会员用户表
 * </p>
 *
 * @author 马鼎
 * @since 2024-09-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("member_user_management")
@ApiModel(value="MemberUserManagement对象", description="会员用户表")
public class MemberUserManagement implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户主键（张梦涵）")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "门户标识")
    @TableField("venue_unique_identifier")
    private String venueUniqueIdentifier;

    @ApiModelProperty(value = "健身计划id")
    @TableField("fitness_plan_id")
    private Integer fitnessPlanId;

    @ApiModelProperty(value = "学员手机号")
    @TableField("member_user_phone")
    private String memberUserPhone;

    @ApiModelProperty(value = "学员真实姓名")
    @TableField("member_user_real_name")
    private String memberUserRealName;

    @ApiModelProperty(value = "学员性别（0男，1女）")
    @TableField("member_user_sex")
    private Integer memberUserSex;

    @ApiModelProperty(value = "学员年龄")
    @TableField("member_user_age")
    private Integer memberUserAge;

    @ApiModelProperty(value = "学员体重（㎏）")
    @TableField("member_user_weight")
    private BigDecimal memberUserWeight;

    @ApiModelProperty(value = "学员身高（cm）")
    @TableField("member_user_height")
    private Integer memberUserHeight;

    @ApiModelProperty(value = "体脂率")
    @TableField("member_user_body_fat")
    private BigDecimal memberUserBodyFat;

    @ApiModelProperty(value = "学员昵称")
    @TableField("member_user_name")
    private String memberUserName;

    @ApiModelProperty(value = "学员头像")
    @TableField("member_user_heard")
    private Integer memberUserHeard;

    @ApiModelProperty(value = "学员照片")
    @TableField("member_user_photo")
    private String memberUserPhoto;

    @ApiModelProperty(value = "教练邀请码")
    @TableField("invitation_code")
    private String invitationCode;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "删除标识（0显示，1删除）")
    @TableField("del_flag")
    private DeleteEnum deleteEnum;

    @ApiModelProperty(value = "会员卡编号")
    @TableField("membership_card_number")
    private String membershipCardNumber;

    @ApiModelProperty(value = "是否分配课程（0分配，1未分配）")
    @TableField("is_allocation")
    private String isAllocation;

    @ApiModelProperty(value = "入会状态（0在会，1不在）")
    @TableField("online_status")
    private Integer onlineStatus;

    @ApiModelProperty(value = "入场次数")
    @TableField("online_times")
    private Integer onlineTimes;

    @ApiModelProperty(value = "教练备注名")
    @TableField("coach_notes")
    private String coachNotes;

    @ApiModelProperty(value = "用户类型(0 普通会员 、1 vip私教会员、2 意向用户)")
    @TableField("user_type")
    private Integer userType;

    @ApiModelProperty(value = "验证码")
    @TableField(exist = false)
    private String phoneCode;

}
